package com.hyq;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author hanyq 2024-06-18 17:19:13
 */
@SpringBootApplication
@EnableTransactionManagement
//开启异步注解功能
@EnableAsync
public class KafkaApplication {

	public static void main(String[] args) {
        SpringApplication.run(KafkaApplication.class, args);
	}

}